<?
require("includes/constants.php");
require("includes/funciones.inc.php");

session_start();
if(!isset($_SESSION['nombreUsuario']))
	exit();

?>
<form id="detalleRetencionItemPopForm" name="detalleRetencionItemPopForm" method="post">
	<div class="input-group">
		<span class="input-group-addon">Categor&iacute;a de Retenci&oacute;</span>
 		<select id="cmbCategoria" name="cmbCategoria" class="form-control">
			<option value="">...</option>
			<option value="B">Ingresos Brutos</option>
			<option value="I">I.V.A.</option>
			<option value="G">Ganancias</option>
			<option value="S">S.U.S.S</option>
 		</select>
	</div>
	<div class="input-group">
		<span class="input-group-addon">Fecha de Retenci&oacute;n</span>
 		<input id="fechaRetencion" name="fechaRetencion" type="text" class="form-control fecha">
	</div>
	<div class="input-group">
		<span class="input-group-addon">Nro. Retenci&oacute;n</span>
 		<input id="nroRetencion" name="nroRetencion" type="text" class="form-control numeric">
	</div>
	<div class="input-group">
  		<span class="input-group-addon">Importe Base Imponible</span>
  		<input id="importeBaseImponibleRetencion" name="importeBaseImponibleRetencion" type="text" class="form-control numeric">
  		<span class="input-group-addon">$</span>
	</div>
	<div class="input-group">
  		<span class="input-group-addon">Importe</span>
  		<input id="importeRetencion" name="importeRetencion" type="text" class="form-control numeric">
  		<span class="input-group-addon">$</span>
	</div>
	
	<div class="btn-toolbar" style="padding-top: 10px; float: right;">
	  	<button type="button" class="btn btn-primary" name="btnGuardarItemRetencion" id="btnGuardarItemRetencion">Guardar</button>
	  	<button type="button" class="btn btn-primary" name="btnCerrarItemRetencion" id="btnCerrarItemRetencion">Cerrar</button>
	</div>	
</form>

<script>
	$(document).ready(function() {
		$_initItemRetecionPop();
	});
</script>
